package com.example.mapper;

import com.example.entity.FacilityMaintainer;
import com.example.entity.Page.PageRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: tobed
 * @date: 2022/11/15
 * @time: 10:03
 */
@Mapper
public interface FacilityMaintainerMapper {

    /*设备维修记录query*/
    List<FacilityMaintainer> list(FacilityMaintainer facilityMaintainer);

    /*删除维修记录*/
    int remove(Integer id);

    /*添加设备维修记录*/
    int create(FacilityMaintainer facilityMaintainer);

    /*审核*/
    int over(FacilityMaintainer facilityMaintainer);
}
